StellarPay\Subscriptions\Repositories\SubscriptionRepository S

Total Complexity 37
Dependencies 16
Dependents 3
Total lines 603
Lines of code 270
Logical lines of code 159
Comment lines 204
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
toArray()
A
40 9 61
getAll()
S
53 5 22
update()
S
48 4 34
insert()
S
49 2 33
delete()
S
58 2 17
validateSubscription()
S
68 3 7
cancelAtPeriodEnd()
S
57 1 17
cancel()
S
58 1 16
hasStatusChanged()
S
75 2 4
updatePaymentMethod()
S
64 2 10
removeCancelAtPeriodEnd()
S
61 1 13
suspend()
S
63 1 11
complete()
S
63 1 11
getById()
S
74 1 5
activate()
S
73 1 5
prepareQuery()
S
75 1 4